package com.lq.ecoldchain.ui.mine.user


import com.alibaba.android.arouter.launcher.ARouter
import com.lq.ecoldchain.base.BaseNavigator
import com.lq.ecoldchain.base.viewdelegate.BaseViewDelegate
import com.lq.ecoldchain.entity.UserInfoBean

/*
*2018/12/26 0026  18:48
*function by lq
*/
class UserDelegate(val data:UserInfoBean):BaseViewDelegate(){
    fun updatePhone()=ARouter.getInstance().build(BaseNavigator.updatePhone).withString("phone",data.phone).navigation()

    fun payPassword() = ARouter.getInstance().build(BaseNavigator.payPassword).withString("phone",data.phone).navigation()
}